package com.ys.service.hr;

import java.util.List;
import java.util.Map;
import com.ys.dto.DtreeSqlDto;
import com.ys.entity.hr.ThrOperateCompanyApply;
import com.ys.entity.sys.TsOperateOrg;
import com.ys.vo.R;

public interface ThrOperateCompanyApplyService {

	R search(Map<String, Object> params) throws Exception;

	R edit(Map<String, Object> params) throws Exception;
	
	void repairNode(String vGsBm) throws Exception;

	DtreeSqlDto dtree();
	
	List<DtreeSqlDto.DataDto> getChildrens(Long pid, Map<Long, List<TsOperateOrg>> map);

	R editOperator(Long id, String cUser, String password) throws Exception;

	R editStatus(Long id, Integer status, String password) throws Exception;

	R editSupper(Long id, String vGsBmP, String password) throws Exception;

	R batchChangeOrg(Long orgId, String detailArr);

	//新增
	ThrOperateCompanyApply add(Map<String, Object> params) throws Exception;

	//运营公司档案页面修改
	R editByArchives(Map<String, Object> params,Long menuId, boolean hasSonList) throws Exception;

}
